/* 组件 */
import Home from '@/views/Home'
export default {
  path: '/attendance',
  name: 'attendance',
  meta: {
    title: '考勤管理'
  },
  redirect: 'noRedirect',
  component: Home,
  children: [
    {
      path: '/attendance/myAttendance',
      name: 'myAttendance',
      meta: {
        title: '我的考勤'
      },
      component: () => import('@/views/attendance/myAttendance/index.vue')
    },
    {
      path: '/attendance/userManagement',
      name: 'userManagement',
      meta: {
        title: '用户管理'
      },
      component: () => import('@/views/userManagement/index.vue')
    },
    {
      path: '/attendance/attendanceStatus',
      name: 'attendanceStatus',
      meta: {
        title: '考勤状态'
      },
      component: () => import('@/views/attendance/attendanceStatus/index.vue')
    },
    {
      path: '/attendance/attendanceGroup',
      name: 'attendanceGroup',
      meta: {
        title: '考勤组'
      },
      component: () => import('@/views/attendance/attendanceGroup/index.vue')
    }

  ]
}
